export const tableOption = {
  "border": false,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  'selection': true,
  "searchMenuSpan": 6,
  "addBtn": false,
  "refreshBtn": false,
  "columnBtn": false,
  "searchShowBtn": false,
  "searchIcon": false,
  "searchShow": false,
  labelWidth:'140',
  "column": [
    {
      "type": "select",
      "label": "设备",
      "prop": "deviceId",
      "span": 12,
      "formslot": true,
      'slot':true,
      overHidden: true,
      // dicUrl: '/ems/emsdeviceaccount/list',
      // props: {
      //   label: "assetNum",
      //   value: "id"
      // },
      
      // rules: [{
      //   required: true,
      //   message: '请选择设备',
      //   trigger: 'blur'
      // }],
      search: true,
    },

    {
      label: '折旧年月日',
      prop: 'depreciationDate',
      type: 'datetime',
      format: 'yyyy-MM-dd',
      valueFormat: 'yyyy-MM-dd',
      rules: [{
        required: true,
        message: '请选择折旧年月日',
        trigger: 'change'
      }]
    },
    {
      "type": "input",
      "label": "折旧月数",
      "prop": "monthCount",
      "span": 12,
      rules: [{
        required: true,
        message: '请输入折旧月数',
        trigger: 'blur'
      }]
    }, {
      "type": "input",
      "label": "当期折旧",
      "prop": "monthDepreciation",
      "span": 12,
      rules: [{
        required: true,
        message: '请输入当期折旧',
        trigger: 'blur'
      }]
    }, {
      "type": "input",
      "label": "累计折旧",
      "prop": "accumulatedDepreciation",
      "span": 12,
      rules: [{
        required: true,
        message: '请输入累计折旧',
        trigger: 'blur'
      }]
    }, {
      "type": "input",
      "label": "剩余净值",
      "prop": "surplusNetworth",
      "span": 12,
      rules: [{
        required: true,
        message: '请输入剩余净值',
        trigger: 'blur'
      }]
    },
    {
      "type": "input",
      "label": "资产净值",
      "prop": "originalValue",
      "span": 12,
      addDisplay: false,
      editDisplay: false
    }, {
      row: true,
      minRows: 2,
      "type": "textarea",
      "label": "备注",
      "prop": "remark",
      "span": 12,
      hide: true
    }]
}
